package com.yxh.exception;

import com.yxh.util.APIErrorCode;
/**
 * 登录异常
 *
 * @author Sh1nno
 * @since 2018.3.7
 */
public class LoginException extends RuntimeException {
    private APIErrorCode code;

    public LoginException(APIErrorCode code) {
        this.code = code;
    }

    public APIErrorCode getCode() {
        return code;
    }
}
